package cn.wolfcode.luowowo.article.mapper;

import cn.wolfcode.luowowo.article.domain.DestinationTheme;
import cn.wolfcode.luowowo.article.domain.DestinationThemeTag;
import cn.wolfcode.luowowo.article.query.DestinationThemeQuery;

import java.util.List;

public interface DestinationThemeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DestinationTheme record);

    DestinationTheme selectByPrimaryKey(Long id);

    List<DestinationTheme> selectAll();

    int updateByPrimaryKey(DestinationTheme record);

    List<DestinationTheme> selectForList(DestinationThemeQuery qo);

    List<DestinationThemeTag> selectByThemeByDestId(Long themeId);
}